home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XDestroyWindow.z / XDestroyWindow
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXDDDDeeeessssttttrrrrooooyyyyWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXDDDDeeeessssttttrrrrooooyyyyWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XDestroyWindow, XDestroySubwindows - destroy windows
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XDestroyWindow(_d_i_s_p_l_a_y, _w)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 Window _w;
  15.  
  16.           XDestroySubwindows(_d_i_s_p_l_a_y, _w)
  17.                 Display *_d_i_s_p_l_a_y;
  18.                 Window _w;
  19.  
  20.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  21.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  22.  
  23.           _w         Specifies the window.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           The _X_D_e_s_t_r_o_y_W_i_n_d_o_w function destroys the specified window as
  27.           well as all of its subwindows and causes the X server to
  28.           generate a _D_e_s_t_r_o_y_N_o_t_i_f_y event for each window.  The window
  29.           should never be referenced again.  If the window specified
  30.           by the w argument is mapped, it is unmapped automatically.
  31.           The ordering of the _D_e_s_t_r_o_y_N_o_t_i_f_y events is such that for
  32.           any given window being destroyed, _D_e_s_t_r_o_y_N_o_t_i_f_y is generated
  33.           on any inferiors of the window before being generated on the
  34.           window itself.  The ordering among siblings and across
  35.           subhierarchies is not otherwise constrained.  If the window
  36.           you specified is a root window, no windows are destroyed.
  37.           Destroying a mapped window will generate _E_x_p_o_s_e events on
  38.           other windows that were obscured by the window being
  39.           destroyed.
  40.  
  41.           _X_D_e_s_t_r_o_y_W_i_n_d_o_w can generate a _B_a_d_W_i_n_d_o_w error.
  42.  
  43.           The _X_D_e_s_t_r_o_y_S_u_b_w_i_n_d_o_w_s function destroys all inferior
  44.           windows of the specified window, in bottom-to-top stacking
  45.           order.  It causes the X server to generate a _D_e_s_t_r_o_y_N_o_t_i_f_y
  46.           event for each window.  If any mapped subwindows were
  47.           actually destroyed, _X_D_e_s_t_r_o_y_S_u_b_w_i_n_d_o_w_s causes the X server
  48.           to generate _E_x_p_o_s_e events on the specified window.  This is
  49.           much more efficient than deleting many windows one at a time
  50.           because much of the work need be performed only once for all
  51.           of the windows, rather than for each window.  The subwindows
  52.           should never be referenced again.
  53.  
  54.           _X_D_e_s_t_r_o_y_S_u_b_w_i_n_d_o_w_s can generate a _B_a_d_W_i_n_d_o_w error.
  55.  
  56.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  57.           _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  58.                     defined Window.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXDDDDeeeessssttttrrrrooooyyyyWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXDDDDeeeessssttttrrrrooooyyyyWWWWiiiinnnnddddoooowwww((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.           XChangeWindowAttributes(3X11), XConfigureWindow(3X11),
  76.           XCreateWindow(3X11), XMapWindow(3X11), XRaiseWindow(3X11),
  77.           XUnmapWindow(3X11)
  78.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.